<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en"><head>
    <title>ITuyaHardware </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="dc.created" content="2020-03-25">
    <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../../../dokka-javadoc-stylesheet.css" title="Style">
    <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style">
    <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script>
    <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script>
    <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script>

    <script type="text/javascript" src="../../../../../search.js"></script>
    <script async type="text/javascript" src="../../../../../module-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../package-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../type-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../member-search-index.js"></script>
    <script async type="text/javascript" src="../../../../../tag-search-index.js"></script>
</head><body>
<script type="text/javascript">
var pathtoroot = "../../../../../";
</script>
<noscript>
    <div>JavaScript is disabled on your browser.</div>
</noscript><header role="banner">
    <nav role="navigation">
        <div class="fixedNav">
            <!-- ========= START OF TOP NAVBAR ======= -->
            <div class="topNav"><a id="navbar.top">
                <!--   -->
            </a>
                <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a>
                </div>
                <a id="navbar.top.firstrow">
                    <!--   -->
                </a>
                <ul class="navList" title="Navigation">
    <li><a href="../../../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
            <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>

<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" class="ui-autocomplete-input" autocomplete="off" placeholder="Search">
<input type="reset" id="reset" value="reset">
</li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ========= END OF TOP NAVBAR ========= -->
        </div>
        <div class="navPadding">&nbsp;</div>
        <script type="text/javascript"><!--
        $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
        //-->
        </script>
    </nav>
</header>

<main role="main">
    <div class="header">
        <div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html"></a></div>
        <h2 title="Interface ITuyaHardware" class="title">Interface ITuyaHardware</h2>
    </div>
    <div class="contentContainer">
        <!-- <ul class="inheritance">
            <li>java.lang.Object</li>
            <li>
                <ul class="inheritance">
                    <li>adaptation.Adaptation</li>
                </ul>
            </li>
        </ul> TODO inheritance tree -->
        <div class="description">
            <ul class="blockList">
                <li class="blockList">
                    
                    <hr>
                    <pre class="wrap-overflow">

public interface <span class="typeNameLabel"><a href=ITuyaHardware.html>ITuyaHardware</a></span>

                    </pre>
                    <div class="block"><p>Get the Device Connection By devIdto be the honest the method will show the device LAN connection status in real time.but the device status need the user put or remove by <a href=ITuyaHardware.html#putHgwBean(String,HgwBean)>putHgwBean</a> and <a href=ITuyaHardware.html#removeHgwBean(String)>removeHgwBean</a></p></div>
                </li>
            </ul>
        </div>
        <div class="summary">
            <ul class="blockList">
                <li class="blockList">
                <!-- ======== NESTED CLASS SUMMARY ======== -->
                    
                    <!-- =========== FIELD SUMMARY =========== -->
                    
                    <!-- ======== CONSTRUCTOR SUMMARY ======== -->
                    
                    <!-- =========== ENUM CONSTANT SUMMARY =========== -->
                    
                    <!-- ========== METHOD SUMMARY =========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.summary">
                                <!--   -->
                            </a>
                                <h3>Method Summary</h3>
                                <div class="memberSummary">
                                    <div role="tablist" aria-orientation="horizontal">
                                        <button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button>
                                        <!-- TODO: Instance and Concrete Methods #1118 -->
                                    </div>
                                    <div id="memberSummary_tabpanel" role="tabpanel">
                                    <table aria-labelledby="t0">
                                        <tr>
                                            <th class="colFirst" scope="col">Modifier and Type</th>
                                            <th class="colSecond" scope="col">Method</th>
                                            <th class="colLast" scope="col">Description</th>
                                        </tr>
                                        
                                        <tr id="i0" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#control(TuyaLocalControlBean,IResultCallback)>control</a>(TuyaLocalControlBean builder, IResultCallback callback) </code>
                                            </th>
                                            <td class="colLast">Send control command to device.</td>
                                        </tr>
                                        
                                        <tr id="i1" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#normalControl(TuyaLocalNormalControlBean,IResultCallback)>normalControl</a>(TuyaLocalNormalControlBean builder, IResultCallback callback) </code>
                                            </th>
                                            <td class="colLast">Send control command to device.</td>
                                        </tr>
                                        
                                        <tr id="i2" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#startService(Context)>startService</a>(Context context) </code>
                                            </th>
                                            <td class="colLast">Start LAN Service and register monitor.</td>
                                        </tr>
                                        
                                        <tr id="i3" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#justStartService(Context)>justStartService</a>(Context context) </code>
                                            </th>
                                            <td class="colLast">Just start LAN Service, not register monitor.</td>
                                        </tr>
                                        
                                        <tr id="i4" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#control(String,int,Array,IResultCallback)>control</a>(String devId, int frameType, Array&lt;byte&gt; data, IResultCallback iTransferResultCallback) </code>
                                            </th>
                                            <td class="colLast">Send the message to device by LAN .</td>
                                        </tr>
                                        
                                        <tr id="i5" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#lanGwUpdate(String,String,IResultCallback)>lanGwUpdate</a>(String devId, String filePath, IResultCallback iTransferResultCallback) </code>
                                            </th>
                                            <td class="colLast"></td>
                                        </tr>
                                        
                                        <tr id="i6" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#deleteDev(String)>deleteDev</a>(String devId) </code>
                                            </th>
                                            <td class="colLast">Delete Device Connection</td>
                                        </tr>
                                        
                                        <tr id="i7" class="rowColor">
                                            <td class="colFirst"><code>abstract HgwBean</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#getDevId(String)>getDevId</a>(String devId) </code>
                                            </th>
                                            <td class="colLast">Get device local area network model.</td>
                                        </tr>
                                        
                                        <tr id="i8" class="altColor">
                                            <td class="colFirst"><code>abstract List&lt;HgwBean&gt;</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#queryDev()>queryDev</a>() </code>
                                            </th>
                                            <td class="colLast">Query the list of the Device Connections</td>
                                        </tr>
                                        
                                        <tr id="i9" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#addHgw(HgwBean)>addHgw</a>(HgwBean hgwBean) </code>
                                            </th>
                                            <td class="colLast">Build the Device TCP Connections.</td>
                                        </tr>
                                        
                                        <tr id="i10" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#addHgw(HgwBean,String)>addHgw</a>(HgwBean hgwBean, String localKey) </code>
                                            </th>
                                            <td class="colLast">Build the Device TCP Connections with the Localkeysince the LPV 3.</td>
                                        </tr>
                                        
                                        <tr id="i11" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#removeHgwFromMonitorService(String)>removeHgwFromMonitorService</a>(String gwId) </code>
                                            </th>
                                            <td class="colLast">Unnecessary.</td>
                                        </tr>
                                        
                                        <tr id="i12" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#setDevDpMessageListener(ILocalDpMessageRespListener)>setDevDpMessageListener</a>(ILocalDpMessageRespListener iDevResponseListener) </code>
                                            </th>
                                            <td class="colLast">Set LAN data points message response listener.</td>
                                        </tr>
                                        
                                        <tr id="i13" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#setDevLocalOnlineStatusListener(ILocalOnlineStatusListener)>setDevLocalOnlineStatusListener</a>(ILocalOnlineStatusListener iLocalOnlineStatusListener) </code>
                                            </th>
                                            <td class="colLast">The devices connect status changed will invoke the method (The true means the tcp connected,and false means disconnected )</td>
                                        </tr>
                                        
                                        <tr id="i14" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#setDevResponseWithoutDpDataListener(IDevResponseWithoutDpDataListener)>setDevResponseWithoutDpDataListener</a>(IDevResponseWithoutDpDataListener listener) </code>
                                            </th>
                                            <td class="colLast">Callback with the specify data ( and after 3.</td>
                                        </tr>
                                        
                                        <tr id="i15" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#registerDevFindListener(IDeviceHardwareFindListener)>registerDevFindListener</a>(IDeviceHardwareFindListener iDevFindListener) </code>
                                            </th>
                                            <td class="colLast">The Device UDP find package listener, which you can get the new device to connect,some connected device also send the UDP find package after connect.</td>
                                        </tr>
                                        
                                        <tr id="i16" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#unRegisterDevFindListener(IDeviceHardwareFindListener)>unRegisterDevFindListener</a>(IDeviceHardwareFindListener iDevFindListener) </code>
                                            </th>
                                            <td class="colLast">Unregister the device find listener</td>
                                        </tr>
                                        
                                        <tr id="i17" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#stopService(Context)>stopService</a>(Context context) </code>
                                            </th>
                                            <td class="colLast">Stop service and release all resource</td>
                                        </tr>
                                        
                                        <tr id="i18" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#justStopService(Context)>justStopService</a>(Context context) </code>
                                            </th>
                                            <td class="colLast">Just close connection, not releases all resource.</td>
                                        </tr>
                                        
                                        <tr id="i19" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#putHgwBean(String,HgwBean)>putHgwBean</a>(String devId, HgwBean hgwBean) </code>
                                            </th>
                                            <td class="colLast">Put the hgwBean to cache.</td>
                                        </tr>
                                        
                                        <tr id="i20" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#removeHgwBean(String)>removeHgwBean</a>(String devId) </code>
                                            </th>
                                            <td class="colLast">Remove the hgwBean to cache</td>
                                        </tr>
                                        
                                        <tr id="i21" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#registerDevConfigListener(IDeviceHardwareConfigListener)>registerDevConfigListener</a>(IDeviceHardwareConfigListener iDevConfigListener) </code>
                                            </th>
                                            <td class="colLast">Register activator listener.</td>
                                        </tr>
                                        
                                        <tr id="i22" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#unRegisterDevConfigListener(IDeviceHardwareConfigListener)>unRegisterDevConfigListener</a>(IDeviceHardwareConfigListener iDevConfigListener) </code>
                                            </th>
                                            <td class="colLast">Unregister activator listener.</td>
                                        </tr>
                                        
                                        <tr id="i23" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#addOnParsePkgFrameChangeListener(IParsePkgFrameListener)>addOnParsePkgFrameChangeListener</a>(IParsePkgFrameListener listener) </code>
                                            </th>
                                            <td class="colLast"></td>
                                        </tr>
                                        
                                        <tr id="i24" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#removeOnParsePkgFrameChangeListener(IParsePkgFrameListener)>removeOnParsePkgFrameChangeListener</a>(IParsePkgFrameListener listener) </code>
                                            </th>
                                            <td class="colLast"></td>
                                        </tr>
                                        
                                        <tr id="i25" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#justStartHardwareServiceUDPPort()>justStartHardwareServiceUDPPort</a>() </code>
                                            </th>
                                            <td class="colLast">just start hardware udp port</td>
                                        </tr>
                                        
                                        <tr id="i26" class="altColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#justStopHardwareServiceUDPPort()>justStopHardwareServiceUDPPort</a>() </code>
                                            </th>
                                            <td class="colLast">just stop hardware udp port</td>
                                        </tr>
                                        
                                        <tr id="i27" class="rowColor">
                                            <td class="colFirst"><code>abstract void</code>
                                            </td>
                                            <th class="colSecond" scope="row"><code><a href=ITuyaHardware.html#setGwBleConnectStatusListener(IGwBleConnectStatusListener)>setGwBleConnectStatusListener</a>(IGwBleConnectStatusListener listener) </code>
                                            </th>
                                            <td class="colLast"></td>
                                        </tr>
                                        
                                        </tbody>
                                    </table>
                                </div>
                                <ul class="blockList">
                                
                                    <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
                                        <!--   -->
                                    </a>
                                        <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
                                        <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
                                            wait, wait, wait</code></li>
                                </ul>
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
        <div class="details">
            <ul class="blockList">
                <li class="blockList">
                    <!-- ========= CONSTRUCTOR DETAIL ======== -->
                    
                    <!-- ============ METHOD DETAIL ========== -->
                    
                    <section role="region">
                        <ul class="blockList">
                            <li class="blockList"><a id="method.detail">
                                <!--   -->
                            </a>
                                <h3>Method Detail</h3>
                                
                                <a id="control(TuyaLocalControlBean,IResultCallback)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>control</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#control(TuyaLocalControlBean,IResultCallback)>control</a>(TuyaLocalControlBean builder, IResultCallback callback)</pre>
                                        <div class="block"><p>Send control command to device.</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="normalControl(TuyaLocalNormalControlBean,IResultCallback)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>normalControl</h4>
                                        <pre class="methodSignature">@Deprecated() abstract void <a href=ITuyaHardware.html#normalControl(TuyaLocalNormalControlBean,IResultCallback)>normalControl</a>(TuyaLocalNormalControlBean builder, IResultCallback callback)</pre>
                                        <div class="block"><p>Send control command to device. Replace by <a href=ITuyaHardware.html#control(TuyaLocalControlBean,IResultCallback)>control</a></p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="startService(Context)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>startService</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#startService(Context)>startService</a>(Context context)</pre>
                                        <div class="block"><p>Start LAN Service and register monitor.</p><p>Start UDP MonitorService and the TCP TransferService</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>context</code> - Context</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="justStartService(Context)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>justStartService</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#justStartService(Context)>justStartService</a>(Context context)</pre>
                                        <div class="block"><p>Just start LAN Service, not register monitor.</p><p>Only call the <a href=ITuyaHardware.html#justStopService(Context)>justStopService</a> } method can call this method.</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="control(String,int,Array,IResultCallback)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>control</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#control(String,int,Array,IResultCallback)>control</a>(String devId, int frameType, Array&lt;byte&gt; data, IResultCallback iTransferResultCallback)</pre>
                                        <div class="block"><p>Send the message to device by LAN .</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>devId</code> - The device id</dd>
                                            
                                            
                                            
                                            <dd><code>frameType</code> - The frame type of the data</dd>
                                            
                                            
                                            
                                            <dd><code>data</code> - The message data with byte[]</dd>
                                            
                                            
                                            
                                            <dd><code>iTransferResultCallback</code> - Callback with result mean send success not the device get the message </dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="lanGwUpdate(String,String,IResultCallback)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>lanGwUpdate</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#lanGwUpdate(String,String,IResultCallback)>lanGwUpdate</a>(String devId, String filePath, IResultCallback iTransferResultCallback)</pre>
                                        <div class="block"></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="deleteDev(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>deleteDev</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#deleteDev(String)>deleteDev</a>(String devId)</pre>
                                        <div class="block"><p>Delete Device Connection</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>devId</code> - The device id</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="getDevId(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>getDevId</h4>
                                        <pre class="methodSignature"> abstract HgwBean <a href=ITuyaHardware.html#getDevId(String)>getDevId</a>(String devId)</pre>
                                        <div class="block"><p>Get device local area network model.</p><p>If it is not null, it means the device has established a LAN connection with the mobile phone</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>devId</code> - Device id.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="queryDev()">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>queryDev</h4>
                                        <pre class="methodSignature"> abstract List&lt;HgwBean&gt; <a href=ITuyaHardware.html#queryDev()>queryDev</a>()</pre>
                                        <div class="block"><p>Query the list of the Device Connections</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addHgw(HgwBean)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addHgw</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#addHgw(HgwBean)>addHgw</a>(HgwBean hgwBean)</pre>
                                        <div class="block"><p>Build the Device TCP Connections.</p><p>Register IDeviceHardwareFindListener can receive hgwBean, then call this method tobuild TCP connection with device.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>hgwBean</code> - LAN data packets of devices.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addHgw(HgwBean,String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addHgw</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#addHgw(HgwBean,String)>addHgw</a>(HgwBean hgwBean, String localKey)</pre>
                                        <div class="block"><p>Build the Device TCP Connections with the Localkeysince the LPV 3.4 the Device TCP Connection's built need the LocalKey</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>hgwBean</code> - LAN data packets of devices.</dd>
                                            
                                            
                                            
                                            <dd><code>localKey</code> - Device localKey.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="removeHgwFromMonitorService(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>removeHgwFromMonitorService</h4>
                                        <pre class="methodSignature">@Deprecated() abstract void <a href=ITuyaHardware.html#removeHgwFromMonitorService(String)>removeHgwFromMonitorService</a>(String gwId)</pre>
                                        <div class="block"><p>Unnecessary.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>gwId</code> - Device id.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="setDevDpMessageListener(ILocalDpMessageRespListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>setDevDpMessageListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#setDevDpMessageListener(ILocalDpMessageRespListener)>setDevDpMessageListener</a>(ILocalDpMessageRespListener iDevResponseListener)</pre>
                                        <div class="block"><p>Set LAN data points message response listener.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>iDevResponseListener</code> - ILocalDpMessageRespListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="setDevLocalOnlineStatusListener(ILocalOnlineStatusListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>setDevLocalOnlineStatusListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#setDevLocalOnlineStatusListener(ILocalOnlineStatusListener)>setDevLocalOnlineStatusListener</a>(ILocalOnlineStatusListener iLocalOnlineStatusListener)</pre>
                                        <div class="block"><p>The devices connect status changed will invoke the method (The true means the tcp connected,and false means disconnected )</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>iLocalOnlineStatusListener</code> - ILocalOnlineStatusListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="setDevResponseWithoutDpDataListener(IDevResponseWithoutDpDataListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>setDevResponseWithoutDpDataListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#setDevResponseWithoutDpDataListener(IDevResponseWithoutDpDataListener)>setDevResponseWithoutDpDataListener</a>(IDevResponseWithoutDpDataListener listener)</pre>
                                        <div class="block"><p>Callback with the specify data ( and after 3.4 the method will be deprecated by the new frametype will instead of the protocol onLocalDataReceived )</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>listener</code> - IDevResponseWithoutDpDataListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="registerDevFindListener(IDeviceHardwareFindListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>registerDevFindListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#registerDevFindListener(IDeviceHardwareFindListener)>registerDevFindListener</a>(IDeviceHardwareFindListener iDevFindListener)</pre>
                                        <div class="block"><p>The Device UDP find package listener, which you can get the new device to connect,some connected device also send the UDP find package after connect.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>iDevFindListener</code> - IDeviceHardwareFindListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="unRegisterDevFindListener(IDeviceHardwareFindListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>unRegisterDevFindListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#unRegisterDevFindListener(IDeviceHardwareFindListener)>unRegisterDevFindListener</a>(IDeviceHardwareFindListener iDevFindListener)</pre>
                                        <div class="block"><p>Unregister the device find listener</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>iDevFindListener</code> - IDeviceHardwareFindListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="stopService(Context)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>stopService</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#stopService(Context)>stopService</a>(Context context)</pre>
                                        <div class="block"><p>Stop service and release all resource</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>context</code> - Context</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="justStopService(Context)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>justStopService</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#justStopService(Context)>justStopService</a>(Context context)</pre>
                                        <div class="block"><p>Just close connection, not releases all resource.(like the listener)If you need to reconnect, just call <a href=ITuyaHardware.html#justStartService(Context)>justStartService</a> ()}</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>context</code> - Context</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="putHgwBean(String,HgwBean)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>putHgwBean</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#putHgwBean(String,HgwBean)>putHgwBean</a>(String devId, HgwBean hgwBean)</pre>
                                        <div class="block"><p>Put the hgwBean to cache.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>devId</code> - Device id.</dd>
                                            
                                            
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="removeHgwBean(String)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>removeHgwBean</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#removeHgwBean(String)>removeHgwBean</a>(String devId)</pre>
                                        <div class="block"><p>Remove the hgwBean to cache</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>devId</code> - Device id.</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="registerDevConfigListener(IDeviceHardwareConfigListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>registerDevConfigListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#registerDevConfigListener(IDeviceHardwareConfigListener)>registerDevConfigListener</a>(IDeviceHardwareConfigListener iDevConfigListener)</pre>
                                        <div class="block"><p>Register activator listener.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>iDevConfigListener</code> - IDeviceHardwareConfigListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="unRegisterDevConfigListener(IDeviceHardwareConfigListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>unRegisterDevConfigListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#unRegisterDevConfigListener(IDeviceHardwareConfigListener)>unRegisterDevConfigListener</a>(IDeviceHardwareConfigListener iDevConfigListener)</pre>
                                        <div class="block"><p>Unregister activator listener.</p></div>
                                        
                                        <dl>
                                            <dt><span class="paramLabel">Parameters:</span></dt>
                                            
                                            
                                            <dd><code>iDevConfigListener</code> - IDeviceHardwareConfigListener</dd>
                                            
                                            
                                        </dl>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="addOnParsePkgFrameChangeListener(IParsePkgFrameListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>addOnParsePkgFrameChangeListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#addOnParsePkgFrameChangeListener(IParsePkgFrameListener)>addOnParsePkgFrameChangeListener</a>(IParsePkgFrameListener listener)</pre>
                                        <div class="block"></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="removeOnParsePkgFrameChangeListener(IParsePkgFrameListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>removeOnParsePkgFrameChangeListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#removeOnParsePkgFrameChangeListener(IParsePkgFrameListener)>removeOnParsePkgFrameChangeListener</a>(IParsePkgFrameListener listener)</pre>
                                        <div class="block"></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="justStartHardwareServiceUDPPort()">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>justStartHardwareServiceUDPPort</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#justStartHardwareServiceUDPPort()>justStartHardwareServiceUDPPort</a>()</pre>
                                        <div class="block"><p>just start hardware udp port</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="justStopHardwareServiceUDPPort()">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockList"
                                          >
                                    <li class="blockList">
                                        <h4>justStopHardwareServiceUDPPort</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#justStopHardwareServiceUDPPort()>justStopHardwareServiceUDPPort</a>()</pre>
                                        <div class="block"><p>just stop hardware udp port</p></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                                <a id="setGwBleConnectStatusListener(IGwBleConnectStatusListener)">
                                    <!--   -->
                                </a>
                                <ul class=
                                              "blockListLast"
                                          >
                                    <li class="blockList">
                                        <h4>setGwBleConnectStatusListener</h4>
                                        <pre class="methodSignature"> abstract void <a href=ITuyaHardware.html#setGwBleConnectStatusListener(IGwBleConnectStatusListener)>setGwBleConnectStatusListener</a>(IGwBleConnectStatusListener listener)</pre>
                                        <div class="block"></div>
                                        
                                        <!-- TODO missing return annotation -->
                                    </li>
                                </ul>
                                
                            </li>
                        </ul>
                    </section>
                    
                </li>
            </ul>
        </div>
    </div>
</main>
<footer role="contentinfo">
    <nav role="navigation">
        <!-- ======= START OF BOTTOM NAVBAR ====== -->
        <div class="bottomNav"><a id="navbar.bottom">
            <!--   -->
        </a>
            <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a>
            </div>
            <a id="navbar.bottom.firstrow">
                <!--   -->
            </a>
            <ul class="navList" title="Navigation">
    <li><a href="../../../../../index.html">Overview</a></li>
    
    <li><a href="package-summary.html">Package</a></li>
    
    <li>Class</li>
    
    <li><a href="package-tree.html">Tree</a></li>
    
    <li><a href="../../../../../deprecated.html">Deprecated</a></li>
    <li><a href="../../../../../index-files/index-1.html">Index</a></li>
    <li>Help</li>
</ul></div>
        <a id="skip.navbar.bottom">
            <!--   -->
        </a>
        <div class="subNav">
<ul class="navList" id="allclasses_navbar_top" style="display: block;">
    <li><a href="../../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<a id="skip.navbar.top">
<!--   -->
</a></div><!-- ======== END OF BOTTOM NAVBAR ======= -->
    </nav>
</footer><ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content" id="ui-id-1" tabindex="0"
    style="display: none;"></ul>
<span role="status" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></span>
</body>
</html>
